package cn.edu.scau.cmi.wujiaxian.comprehension.client;

import java.io.IOException;
import java.util.Objects;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * @author XiaoHuaShiFu
 */
public class ComprehensionJavafx extends Application {
    
    @Override
    public void start(Stage primaryStage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader();
        Parent parent = fxmlLoader.load(Objects.requireNonNull(
        		ComprehensionJavafx.class.getClassLoader().getResourceAsStream(
                        "cn/edu/scau/cmi/wujiaxian/comprehension/client/index.fxml")));
        Scene scene = new Scene(parent);
        primaryStage.setTitle("综合性实验");
        primaryStage.setScene(scene);
        primaryStage.show();
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        launch(args);
    }
    
}
